package cn.wubo.sqlparser;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class MainApp {

    public static void main(String[] args) throws Exception {
        String sql = "select a.a as ccc,a.b,a.c,b.d from aaa a left join bbb b on a.a = b.a where a.a = '1'";
        log.debug("----------Druid");
        DruidSQLParser.parser(sql,"mysql");
        log.debug("----------JSQLParser");
        JSQLParser.parser(sql);
        log.debug("----------Calcite");
        CalciteParser.parser(sql);
    }
}
